\hypertarget{Moto_8h}{\section{Référence du fichier Moto.\-h}
\label{Moto_8h}\index{Moto.\-h@{Moto.\-h}}
}


Module des Motos du jeu.  


{\ttfamily \#include $<$stdlib.\-h$>$}\\*
Graphe des dépendances par inclusion de Moto.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=128pt]{Moto_8h__incl}
\end{center}
\end{figure}
Ce graphe montre quels fichiers incluent directement ou indirectement ce fichier \-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{Moto_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Structures de données}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structMoto}{Moto}
\begin{DoxyCompactList}\small\item\em Structure d'une \hyperlink{structMoto}{Moto}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Énumérations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aa}{Direction} \{ \\*
\hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa63b67464045a0f9f8aece9dfd409ecf8}{N\-O\-N\-\_\-\-D\-I\-R\-I\-G\-E} = 0, 
\hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa5c97701a87d36c8f2c0de80c5865b8e2}{H\-A\-U\-T} = 1, 
\hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa4b07baad9e862178efeac3e522475caa}{B\-A\-S} = 2, 
\hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa4ee960d97b04a1f22ed7ff81c7aa2e86}{G\-A\-U\-C\-H\-E} = 3, 
\\*
\hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa79f680205087956546ae263797bd1343}{D\-R\-O\-I\-T\-E} = 4
 \}
\end{DoxyCompactItemize}
\subsection*{Fonctions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{Moto_8h_adaa34f67eeb029811b895f62c48e1e37}{Moto\-Constructeur} (\hyperlink{structMoto}{Moto} $\ast$moto, float pos\-X, float pos\-Y, unsigned int taille\-X, unsigned int taille\-Y, float vitesse, \hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aa}{Direction} direction)
\item 
void \hyperlink{Moto_8h_a8c1f41e71c00d38b29d1b8ab0e93d542}{Moto\-Destructeur} (\hyperlink{structMoto}{Moto} $\ast$moto)
\item 
\hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aa}{Direction} \hyperlink{Moto_8h_a3b507a0e47b0c30898ff385292ad44ba}{Moto\-Get\-Direction} (const \hyperlink{structMoto}{Moto} $\ast$moto)
\item 
float \hyperlink{Moto_8h_a4156c04a753d20234c7882f960830e72}{Moto\-Get\-Position\-X} (const \hyperlink{structMoto}{Moto} $\ast$moto)
\item 
float \hyperlink{Moto_8h_a62ff0acafab13335eb75daddd0f1b842}{Moto\-Get\-Position\-Y} (const \hyperlink{structMoto}{Moto} $\ast$moto)
\item 
unsigned int \hyperlink{Moto_8h_a3c4edf672fcff5483b3805ea4850b0bf}{Moto\-Get\-Taille\-X} (const \hyperlink{structMoto}{Moto} $\ast$moto)
\item 
unsigned int \hyperlink{Moto_8h_aa2e2c249d5453b97bbe5a0a3dcfec6c0}{Moto\-Get\-Taille\-Y} (const \hyperlink{structMoto}{Moto} $\ast$moto)
\item 
float \hyperlink{Moto_8h_a211ad1ea110f768b154253e64386c999}{Moto\-Get\-Vitesse} (const \hyperlink{structMoto}{Moto} $\ast$moto)
\item 
void \hyperlink{Moto_8h_ae3ad3af0cde9ce8df3c3c25d708e5be9}{Moto\-Set\-Direction} (\hyperlink{structMoto}{Moto} $\ast$m, \hyperlink{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aa}{Direction} direction)
\item 
void \hyperlink{Moto_8h_ae7ad014965db768aafd0af24b3594aee}{Moto\-Set\-Position\-X} (\hyperlink{structMoto}{Moto} $\ast$m, float pos\-X)
\item 
void \hyperlink{Moto_8h_ad295a21e2ee7f293ef9b1e732f5d3c67}{Moto\-Set\-Position\-Y} (\hyperlink{structMoto}{Moto} $\ast$m, float pos\-Y)
\item 
void \hyperlink{Moto_8h_af0e8990952a6350076e48481a6bb7cb2}{Moto\-Set\-Taille\-X} (\hyperlink{structMoto}{Moto} $\ast$m, unsigned int taille\-X)
\item 
void \hyperlink{Moto_8h_a8fc03b4457ff37ecd14b7088502625bf}{Moto\-Set\-Taille\-Y} (\hyperlink{structMoto}{Moto} $\ast$m, unsigned int taille\-Y)
\item 
void \hyperlink{Moto_8h_a94e23a15f224645b6f06456d72238353}{Moto\-Set\-Vitesse} (\hyperlink{structMoto}{Moto} $\ast$m, float vitesse)
\item 
void \hyperlink{Moto_8h_aee18c911ddc26580170985f506538dcb}{Moto\-Test\-Regression} ()
\end{DoxyCompactItemize}


\subsection{Description détaillée}
Module des Motos du jeu. \mbox{]} \begin{DoxyAuthor}{Auteur}
\{Antoine.\-C,Matthieu.\-B\} 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
0.\-1 
\end{DoxyVersion}
\begin{DoxyDate}{Date}
13 mars 2013 
\end{DoxyDate}


\subsection{Documentation du type de l'énumération}
\hypertarget{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aa}{\index{Moto.\-h@{Moto.\-h}!Direction@{Direction}}
\index{Direction@{Direction}!Moto.h@{Moto.\-h}}
\subsubsection[{Direction}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Direction}}}\label{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aa}
\begin{Desc}
\item[Valeurs énumérées\-: ]\par
\begin{description}
\index{N\-O\-N\-\_\-\-D\-I\-R\-I\-G\-E@{N\-O\-N\-\_\-\-D\-I\-R\-I\-G\-E}!Moto.\-h@{Moto.\-h}}\index{Moto.\-h@{Moto.\-h}!N\-O\-N\-\_\-\-D\-I\-R\-I\-G\-E@{N\-O\-N\-\_\-\-D\-I\-R\-I\-G\-E}}\item[{\em 
\hypertarget{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa63b67464045a0f9f8aece9dfd409ecf8}{N\-O\-N\-\_\-\-D\-I\-R\-I\-G\-E}\label{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa63b67464045a0f9f8aece9dfd409ecf8}
}]\index{H\-A\-U\-T@{H\-A\-U\-T}!Moto.\-h@{Moto.\-h}}\index{Moto.\-h@{Moto.\-h}!H\-A\-U\-T@{H\-A\-U\-T}}\item[{\em 
\hypertarget{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa5c97701a87d36c8f2c0de80c5865b8e2}{H\-A\-U\-T}\label{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa5c97701a87d36c8f2c0de80c5865b8e2}
}]\index{B\-A\-S@{B\-A\-S}!Moto.\-h@{Moto.\-h}}\index{Moto.\-h@{Moto.\-h}!B\-A\-S@{B\-A\-S}}\item[{\em 
\hypertarget{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa4b07baad9e862178efeac3e522475caa}{B\-A\-S}\label{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa4b07baad9e862178efeac3e522475caa}
}]\index{G\-A\-U\-C\-H\-E@{G\-A\-U\-C\-H\-E}!Moto.\-h@{Moto.\-h}}\index{Moto.\-h@{Moto.\-h}!G\-A\-U\-C\-H\-E@{G\-A\-U\-C\-H\-E}}\item[{\em 
\hypertarget{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa4ee960d97b04a1f22ed7ff81c7aa2e86}{G\-A\-U\-C\-H\-E}\label{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa4ee960d97b04a1f22ed7ff81c7aa2e86}
}]\index{D\-R\-O\-I\-T\-E@{D\-R\-O\-I\-T\-E}!Moto.\-h@{Moto.\-h}}\index{Moto.\-h@{Moto.\-h}!D\-R\-O\-I\-T\-E@{D\-R\-O\-I\-T\-E}}\item[{\em 
\hypertarget{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa79f680205087956546ae263797bd1343}{D\-R\-O\-I\-T\-E}\label{Moto_8h_a224b9163917ac32fc95a60d8c1eec3aaa79f680205087956546ae263797bd1343}
}]\end{description}
\end{Desc}



\subsection{Documentation des fonctions}
\hypertarget{Moto_8h_adaa34f67eeb029811b895f62c48e1e37}{\index{Moto.\-h@{Moto.\-h}!Moto\-Constructeur@{Moto\-Constructeur}}
\index{Moto\-Constructeur@{Moto\-Constructeur}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Constructeur}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Constructeur (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{moto, }
\item[{float}]{pos\-X, }
\item[{float}]{pos\-Y, }
\item[{unsigned int}]{taille\-X, }
\item[{unsigned int}]{taille\-Y, }
\item[{float}]{vitesse, }
\item[{{\bf Direction}}]{direction}
\end{DoxyParamCaption}
)}}\label{Moto_8h_adaa34f67eeb029811b895f62c48e1e37}
\hypertarget{Moto_8h_a8c1f41e71c00d38b29d1b8ab0e93d542}{\index{Moto.\-h@{Moto.\-h}!Moto\-Destructeur@{Moto\-Destructeur}}
\index{Moto\-Destructeur@{Moto\-Destructeur}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Destructeur}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Destructeur (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{moto}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a8c1f41e71c00d38b29d1b8ab0e93d542}
\hypertarget{Moto_8h_a3b507a0e47b0c30898ff385292ad44ba}{\index{Moto.\-h@{Moto.\-h}!Moto\-Get\-Direction@{Moto\-Get\-Direction}}
\index{Moto\-Get\-Direction@{Moto\-Get\-Direction}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Get\-Direction}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Direction} Moto\-Get\-Direction (
\begin{DoxyParamCaption}
\item[{const {\bf Moto} $\ast$}]{moto}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a3b507a0e47b0c30898ff385292ad44ba}
\hypertarget{Moto_8h_a4156c04a753d20234c7882f960830e72}{\index{Moto.\-h@{Moto.\-h}!Moto\-Get\-Position\-X@{Moto\-Get\-Position\-X}}
\index{Moto\-Get\-Position\-X@{Moto\-Get\-Position\-X}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Get\-Position\-X}]{\setlength{\rightskip}{0pt plus 5cm}float Moto\-Get\-Position\-X (
\begin{DoxyParamCaption}
\item[{const {\bf Moto} $\ast$}]{moto}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a4156c04a753d20234c7882f960830e72}
\hypertarget{Moto_8h_a62ff0acafab13335eb75daddd0f1b842}{\index{Moto.\-h@{Moto.\-h}!Moto\-Get\-Position\-Y@{Moto\-Get\-Position\-Y}}
\index{Moto\-Get\-Position\-Y@{Moto\-Get\-Position\-Y}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Get\-Position\-Y}]{\setlength{\rightskip}{0pt plus 5cm}float Moto\-Get\-Position\-Y (
\begin{DoxyParamCaption}
\item[{const {\bf Moto} $\ast$}]{moto}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a62ff0acafab13335eb75daddd0f1b842}
\hypertarget{Moto_8h_a3c4edf672fcff5483b3805ea4850b0bf}{\index{Moto.\-h@{Moto.\-h}!Moto\-Get\-Taille\-X@{Moto\-Get\-Taille\-X}}
\index{Moto\-Get\-Taille\-X@{Moto\-Get\-Taille\-X}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Get\-Taille\-X}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Moto\-Get\-Taille\-X (
\begin{DoxyParamCaption}
\item[{const {\bf Moto} $\ast$}]{moto}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a3c4edf672fcff5483b3805ea4850b0bf}
\hypertarget{Moto_8h_aa2e2c249d5453b97bbe5a0a3dcfec6c0}{\index{Moto.\-h@{Moto.\-h}!Moto\-Get\-Taille\-Y@{Moto\-Get\-Taille\-Y}}
\index{Moto\-Get\-Taille\-Y@{Moto\-Get\-Taille\-Y}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Get\-Taille\-Y}]{\setlength{\rightskip}{0pt plus 5cm}unsigned int Moto\-Get\-Taille\-Y (
\begin{DoxyParamCaption}
\item[{const {\bf Moto} $\ast$}]{moto}
\end{DoxyParamCaption}
)}}\label{Moto_8h_aa2e2c249d5453b97bbe5a0a3dcfec6c0}
\hypertarget{Moto_8h_a211ad1ea110f768b154253e64386c999}{\index{Moto.\-h@{Moto.\-h}!Moto\-Get\-Vitesse@{Moto\-Get\-Vitesse}}
\index{Moto\-Get\-Vitesse@{Moto\-Get\-Vitesse}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Get\-Vitesse}]{\setlength{\rightskip}{0pt plus 5cm}float Moto\-Get\-Vitesse (
\begin{DoxyParamCaption}
\item[{const {\bf Moto} $\ast$}]{moto}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a211ad1ea110f768b154253e64386c999}
\hypertarget{Moto_8h_ae3ad3af0cde9ce8df3c3c25d708e5be9}{\index{Moto.\-h@{Moto.\-h}!Moto\-Set\-Direction@{Moto\-Set\-Direction}}
\index{Moto\-Set\-Direction@{Moto\-Set\-Direction}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Set\-Direction}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Set\-Direction (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{m, }
\item[{{\bf Direction}}]{direction}
\end{DoxyParamCaption}
)}}\label{Moto_8h_ae3ad3af0cde9ce8df3c3c25d708e5be9}
\hypertarget{Moto_8h_ae7ad014965db768aafd0af24b3594aee}{\index{Moto.\-h@{Moto.\-h}!Moto\-Set\-Position\-X@{Moto\-Set\-Position\-X}}
\index{Moto\-Set\-Position\-X@{Moto\-Set\-Position\-X}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Set\-Position\-X}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Set\-Position\-X (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{m, }
\item[{float}]{pos\-X}
\end{DoxyParamCaption}
)}}\label{Moto_8h_ae7ad014965db768aafd0af24b3594aee}
\hypertarget{Moto_8h_ad295a21e2ee7f293ef9b1e732f5d3c67}{\index{Moto.\-h@{Moto.\-h}!Moto\-Set\-Position\-Y@{Moto\-Set\-Position\-Y}}
\index{Moto\-Set\-Position\-Y@{Moto\-Set\-Position\-Y}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Set\-Position\-Y}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Set\-Position\-Y (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{m, }
\item[{float}]{pos\-Y}
\end{DoxyParamCaption}
)}}\label{Moto_8h_ad295a21e2ee7f293ef9b1e732f5d3c67}
\hypertarget{Moto_8h_af0e8990952a6350076e48481a6bb7cb2}{\index{Moto.\-h@{Moto.\-h}!Moto\-Set\-Taille\-X@{Moto\-Set\-Taille\-X}}
\index{Moto\-Set\-Taille\-X@{Moto\-Set\-Taille\-X}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Set\-Taille\-X}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Set\-Taille\-X (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{m, }
\item[{unsigned int}]{taille\-X}
\end{DoxyParamCaption}
)}}\label{Moto_8h_af0e8990952a6350076e48481a6bb7cb2}
\hypertarget{Moto_8h_a8fc03b4457ff37ecd14b7088502625bf}{\index{Moto.\-h@{Moto.\-h}!Moto\-Set\-Taille\-Y@{Moto\-Set\-Taille\-Y}}
\index{Moto\-Set\-Taille\-Y@{Moto\-Set\-Taille\-Y}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Set\-Taille\-Y}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Set\-Taille\-Y (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{m, }
\item[{unsigned int}]{taille\-Y}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a8fc03b4457ff37ecd14b7088502625bf}
\hypertarget{Moto_8h_a94e23a15f224645b6f06456d72238353}{\index{Moto.\-h@{Moto.\-h}!Moto\-Set\-Vitesse@{Moto\-Set\-Vitesse}}
\index{Moto\-Set\-Vitesse@{Moto\-Set\-Vitesse}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Set\-Vitesse}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Set\-Vitesse (
\begin{DoxyParamCaption}
\item[{{\bf Moto} $\ast$}]{m, }
\item[{float}]{vitesse}
\end{DoxyParamCaption}
)}}\label{Moto_8h_a94e23a15f224645b6f06456d72238353}
\hypertarget{Moto_8h_aee18c911ddc26580170985f506538dcb}{\index{Moto.\-h@{Moto.\-h}!Moto\-Test\-Regression@{Moto\-Test\-Regression}}
\index{Moto\-Test\-Regression@{Moto\-Test\-Regression}!Moto.h@{Moto.\-h}}
\subsubsection[{Moto\-Test\-Regression}]{\setlength{\rightskip}{0pt plus 5cm}void Moto\-Test\-Regression (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{Moto_8h_aee18c911ddc26580170985f506538dcb}
